var exec = require('cordova/exec');

var myAPI = {};

myAPI.deleteFileCache = function(success, error) {
    exec(success, error, "cacheclear", "deleteFileCache");
};
//获取缓存大小
myAPI.getCacheSize = function( success, error) {
    exec(success, error, "cacheclear", "getCacheSize");
};

module.exports = myAPI;